import request from "@/utils/request";

// 查询客户跟进评论列表
export function listBizCustomerShadowInfoPinglun(query) {
  return request({
    url: "/biz/bizCustomerShadowInfoPinglun/list",
    method: "get",
    params: query,
  });
}

// 查询客户跟进评论详细
export function getBizCustomerShadowInfoPinglun(id) {
  return request({
    url: "/biz/bizCustomerShadowInfoPinglun/" + id,
    method: "get",
  });
}

// 新增客户跟进评论
export function addBizCustomerShadowInfoPinglun(data) {
  return request({
    url: "/biz/bizCustomerShadowInfoPinglun",
    method: "post",
    data: data,
  });
}

// 修改客户跟进评论
export function updateBizCustomerShadowInfoPinglun(data) {
  return request({
    url: "/biz/bizCustomerShadowInfoPinglun",
    method: "put",
    data: data,
  });
}

// 删除客户跟进评论
export function delBizCustomerShadowInfoPinglun(id) {
  return request({
    url: "/biz/bizCustomerShadowInfoPinglun/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizCustomerShadowInfoPinglun/findMaxSort",
    method: "get",
  });
}
// 导出客户跟进评论
export function exportBizCustomerShadowInfoPinglun(query) {
  return request({
    url: "/biz/bizCustomerShadowInfoPinglun/export",
    method: "get",
    params: query,
  });
}
